If knitting "in the round", it's the other way round: garter stitch is when you knit and purl alternate rows, and stocking stitch is when they're either all knitted or all purled. (This is according to Wikipedia.)
© Haydn Thompson 2016